From 95682c75b834767667492b0e762cce0bd33da84d Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Thu, 20 Mar 2008 17:07:07 +0000 Subject: [PATCH] Wait, never mind, revert that. This is supposed to be DB keys . . . --- includes/Category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Category.php b/includes/Category.php index d9a09fea7c..37127d5484 100644 --- a/includes/Category.php +++ b/includes/Category.php @@ -50,7 +50,7 @@ abstract class CategoryListBase { * @return mixed Normalized name, or false if the name was invalid. */ private static function setNamesCallback( $name ) { - $title = Title::makeTitleSafe( NS_CATEGORY, $name ); + $title = Title::newFromText( "Category:$name" ); if( !is_object( $title ) ) { return false; } -- 2.20.1